<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
 <meta http-equiv="content-type" content="text/html; charset=utf-8" />
 <meta name="Robots" content="index,follow" />
 <title>您这儿 管理</title>
 <%= stylesheet_link_tag 'main' %>
 <%= javascript_include_tag "prototype"%>
 <%= javascript_include_tag "jquery"%>
 <%= javascript_include_tag "utils"%>
 <%= javascript_include_tag "jquery-dom"%>
 <%= javascript_include_tag "fckeditor" %>
</head>
<body>
    
    <table width="800" border="0" align="center">
  <tr>
    <td colspan="2">
    <table width="95%" border="0">
     <tr>
       <td width="18%" rowspan="3" align="center" valign="middle">
       
       </td>
       <td width="20%" rowspan="2" align="center" valign="middle">
       
       </td>
       <td width="62%" align="right">
       </td>
     </tr>
     <tr>
       <td align="right">

      </td>
     </tr>
     <tr>
      <td align="center">
      </td>
      <td align="right">
      </td>
     </tr>
   </table>
        
    </td>
  </tr>
  <tr>
    <td colspan="2">
      <% if !current_user.nil? and current_user.login == 'admin'%>
      <%= current_user.login%>
      <%= link_to '用户管理', admin_users_path %>
      <%= link_to '城区管理', admin_districts_path %>
      <%= link_to '帖子管理', admin_posts_path %>
      <%= link_to '场所管理', admin_sites_path %>
      <%= link_to '小组管理', admin_groups_path %>
      <%= link_to '类别管理', admin_categories_path %>
      <%= link_to '退出管理', logout_admin_users_path %>
      <% end %>
      <div id="header"></div>
    </td>
  </tr>
  <%= yield  %>
  <tr>
    <td colspan="2">
    </td>
  </tr>
</table>

</body>
</html>